import { Entity, Column, PrimaryGeneratedColumn, CreateDateColumn, UpdateDateColumn } from 'typeorm';

@Entity('invite_log')
export class EyemanagerInviteLogEntity {
  @PrimaryGeneratedColumn({ type: 'bigint', unsigned: true })
  id: number;

  @Column({ type: 'int', nullable: false, comment: '销售' })
  sales_id: number;

  @Column({ type: 'int', nullable: false, comment: '学员ID' })
  student_id: number;

  @Column({ type: 'tinyint', nullable: false, comment: '状态' })
  status: number;

  @Column({ type: 'tinyint', nullable: false, comment: '类型' })
  type: number;

  @Column({ type: 'tinyint', nullable: false, comment: '行为' })
  behave: number;

  @CreateDateColumn({ type: 'timestamp', nullable: true })
  created_at: Date;

  @UpdateDateColumn({ type: 'timestamp', nullable: true })
  updated_at: Date;
}